package com.sne.airways.system.service;

import com.sne.airways.basecore.exceptions.AppException;
import com.sne.airways.basecore.service.BaseService;

/**
 * Created with IntelliJ IDEA.
 * User: skyline{http://my.oschina.net/skyline520}
 * Date: 12-11-16
 * Time: 下午5:38
 * To change this template use File | Settings | File Templates.
 */
public interface LoginService extends BaseService {
    /**
     * 根据用户登录号和密码进行用户登录操作
     * @param userNo
     * @param password
     * @throws AppException
     */
    public void processLogin(String userNo,String password) throws AppException;

    /**
     * 用户退出登录
     * @throws AppException
     */
    public void processLogout() throws AppException;
}
